package com.iotechn.unimall.data.vo;

import com.dobbinsoft.fw.core.annotation.doc.ApiEntity;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import lombok.Data;

import java.util.List;

@Data
@ApiEntity(description = "服务视图模型")
public class ServerVO {

    @ApiField(description = "id")
    private Long id;

    @ApiField(description = "名称")
    private String name;

    @ApiField(description = "图片路径")
    private String imgUrl;

    @ApiField(description = "父id")
    private Long pid;

    @ApiField(description = "内容")
    private String serviceContent;

    private List<ServerVO> children;
}
